from django.conf.urls.defaults import *
from django.contrib import admin

admin.autodiscover()
   
urlpatterns = patterns('',
    (r'^/$', 'connectpeople.polls.views.index'),
    (r'^/(?P<poll_id>\d+)/$', 'connectpeople.polls.views.detail'),
    (r'^/(?P<poll_id>\d+)/results/$', 'connectpeople.polls.views.results'),
    (r'^/(?P<poll_id>\d+)/vote/$', 'connectpeople.polls.views.vote'),
    (r'^/add/$', 'connectpeople.polls.views.add_poll'),
    
)